package com.kehutong.charge.entity;

import com.kehutong.charge.util.enums.ChargeAnnexTypes;
import org.coraframework.orm.Entity;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;

@Table(value = "t_charge_bill_annex", comment="收费账单-附件", multi = true, engine = "innodb")
public class ChargeBillAnnexs extends Entity {

    private static final long serialVersionUID = -4897238950676503106L;

    protected ChargeBillAnnexs(String id) {
        super(id);
    }

    @Column(comment = "所属账单编号")
    private String billNo;

    @Column(comment = "文件类型")
    private ChargeAnnexTypes type;

    @Column(comment = "文件系统的文件id")
    private String fileId;


    public String getBillNo() {
        return billNo;
    }

    public void setBillNo(String billNo) {
        this.billNo = billNo;
    }

    public ChargeAnnexTypes getType() {
        return type;
    }

    public void setType(ChargeAnnexTypes type) {
        this.type = type;
    }

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }
}
